SET(
    HEADERS
    ResourceManager.hh
    MixinBase.hh
    Mixinable.hh
	SubscriberPublisher.hh
)

SET(
	SOURCES
	SubscriberPublisher.cc
)

ADD_EXECUTABLE(
    Mixin_UnitTest
    Mixin_UnitTest.cc
)

ADD_EXECUTABLE(
    ResourceManager_UnitTest
    ResourceManager_UnitTest.cc
)

ADD_EXECUTABLE(
    SubscriberPublisher_UnitTest
	SubscriberPublisher.cc
    SubscriberPublisher_UnitTest.cc
)

TARGET_LINK_LIBRARIES(
ResourceManager_UnitTest
${Boost_LIBRARIES}
)

TARGET_LINK_LIBRARIES(
Mixin_UnitTest
${Boost_LIBRARIES}
)

TARGET_LINK_LIBRARIES(
SubscriberPublisher_UnitTest
${Boost_LIBRARIES}
)

ADD_LIBRARY(
	Patterns
	STATIC
	${SOURCES}
	${HEADERS}
)

ADD_TEST(ResourceManager_UnitTest ${EXECUTABLE_OUTPUT_PATH}/ResourceManager_UnitTest)
ADD_TEST(Mixin_UnitTest ${EXECUTABLE_OUTPUT_PATH}/Mixin_UnitTest)
ADD_TEST(SubscriberPublisher_UnitTest ${EXECUTABLE_OUTPUT_PATH}/Mixin_UnitTest)
